package com.system.outpatientsystem.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class appointment_table {
    private Integer id;
    private Integer userId;
    private Integer doctorId;

    @JsonFormat(pattern = "yyyy-M-dd HH:mm")
    private LocalDateTime beginTime;

    @JsonFormat(pattern = "yyyy-M-dd HH:mm")
    private  LocalDateTime endTime;
    private Integer expireStatus;
}
